package com.snailcatmall.www.domain;


import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;
public class DbAdmin {

  private long dbId;
  private String dbAccount;
  private String dbPower;
  private String dbPassword;
  private String dbCall;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date dbTimer;


  public long getDbId() {
    return dbId;
  }

  public void setDbId(long dbId) {
    this.dbId = dbId;
  }


  public String getDbAccount() {
    return dbAccount;
  }

  public void setDbAccount(String dbAccount) {
    this.dbAccount = dbAccount;
  }


  public String getDbPower() {
    return dbPower;
  }

  public void setDbPower(String dbPower) {
    this.dbPower = dbPower;
  }


  public String getDbPassword() {
    return dbPassword;
  }

  public void setDbPassword(String dbPassword) {
    this.dbPassword = dbPassword;
  }


  public String getDbCall() {
    return dbCall;
  }

  public DbAdmin(long dbId, String dbAccount, String dbPower, String dbPassword, String dbCall, Date dbTimer) {
    this.dbId = dbId;
    this.dbAccount = dbAccount;
    this.dbPower = dbPower;
    this.dbPassword = dbPassword;
    this.dbCall = dbCall;
    this.dbTimer = dbTimer;
  }

  public void setDbCall(String dbCall) {
    this.dbCall = dbCall;
  }


  public Date getDbTimer() {
    return dbTimer;
  }

  public void setDbTimer(Date dbTimer) {
    this.dbTimer = dbTimer;
  }

}
